package com.kscrm.web.service.impl;

import java.util.List;

import com.kscrm.web.domain.ProjectExpert;
import com.kscrm.web.mapper.ProjectExpertMapper;
import com.kscrm.web.service.IProjectExpertService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 项目专家关联Service业务层处理
 * 
 * @author Dhq
 * @date 2025-07-03
 */
@Service
public class ProjectExpertServiceImpl implements IProjectExpertService
{
    @Autowired
    private ProjectExpertMapper projectExpertMapper;


    /**
     * 新增项目专家关联
     * 
     * @param projectExpert 项目专家关联
     * @return 结果
     */
    @Override
    public int insertProjectExpert(ProjectExpert projectExpert)
    {
        return projectExpertMapper.insertProjectExpert(projectExpert);
    }


    @Override
    public  void deleteProjectExpertByProjectId(Long projectId){
        projectExpertMapper.deleteProjectExpertByProjectId(projectId);
    }


}
